﻿@using xConnected.Common.ExpertProfile
@*<div data-bind="with: profileAdvancedSearch">
<label id="pageSize">@Resources.ProfilesPerPage:</label><input class="span1" data-bind="value: PageSize" />
<div id="paging" class="pagination-centered">
    <ul class="pager">
        <li>
            <a title="First Page" href="#" data-bind="click: function() { $root.firstPageProfiles(); }">|←</a>
        </li>
        <li>
            <a title="Previous Page" href="#" data-bind="click: function () { $root.previousPageProfiles(); }">←</a>
        </li>
        <!-- ko foreach: ko.utils.range(0, $root.pagesCountProfiles()-1) -->
        <li data-bind= "css: { 'active' : $data == $root.profileAdvancedSearch().PageIndex() }">
            <a href="#" data-bind="text: ($data + 1), click: function() { $root.pageNumberProfiles($data) }">
            </a>
        </li>
        <!-- /ko -->
        <li>
            <a title="Next Page" href="#" data-bind="click: function() { $root.nextPageProfiles(); }"> →</a>
        </li>
        <li>
            <a title="Last Page" href="#" data-bind="click: function() { $root.lastPageProfiles(); }"> →|</a>
        </li>
    </ul>
</div>
</div>*@